package org.example.lost.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.example.domain.PageVO;

import java.util.Date;
import java.util.List;

/**
 *
 * 发布历史搜索条件
 * @Author hxy
 * @Date 2021/3/21 20:17
 * @Version 1.0
 */
@Data
public class HistoryInfoVO extends PageVO {
    @ApiModelProperty("状态（1为已归还/已认领，0为未归还/未认领）")
    private int status;

    @ApiModelProperty("发布开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty("发布结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty("发布人id")
    private String userId;
}
